package com.xyoto.community.service;

import com.xyoto.community.dto.StudentAuthenticationDTO;
import com.xyoto.community.utils.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Author lin
 * @Date 2021/10/20 8:03
 */
public interface StudentAuthenticationService {

    /**
     * 学生认证
     * @param studentAuthentication 学生认证对象
     * @param file 学生证照片
     * @return
     * @throws IOException
     */
    Result saveStudentAuthentication(StudentAuthenticationDTO studentAuthentication, MultipartFile file) throws IOException;

}
